<?php

Yii::import('common.models._base.BaseCourseWithVenue');

class CourseWithVenue extends BaseCourseWithVenue
{
	public static function model($className=__CLASS__) {
		return parent::model($className);
	}
	
    public static function getVenueName($courseId) {
        $data = CourseWithVenue::model()->findAll('courses_id=:courses_id', array(':courses_id' => (int) $courseId));
        return $data;
    }
	
	
}